package com.java.tutorials.spring.ClassPathResource;

/**
 * Created by xuzhike on 2016/3/13.
 */
public class HelloImpl implements Hello {
    private String greeting;

    public HelloImpl()
    {
    }
    public HelloImpl(String a)
    {
        greeting=a;
    }
    public String sayhello(String s)
    {
        return greeting+s;
    }
    public void setGreeting(String a)
    {
        greeting=a;
    }
}
